$(function(){
	var minWidth=$(window).width();
	var minHeigth=$(window).height();
	$("#pageSwaper").css({"width":minWidth,"height":minHeigth});
	$("#pageSwaper").append('<div class="expense_bg"><div id="zzsc"></div><ul><li class="home_icon1"></li><li class="home_icon2"></li></ul></div><div class="user_footer"><ul><li><a href="javascript:void(0);"><i class="icon"></i><p>首页</p></a></li><li><a href="javascript:void(0);"><i class="icon"></i><p>结算</p></a></li></ul><div class="user_bottom"></div><div class="user_add"></div></div>');
	$(".user_footer .user_add").on("click",function(){
		$(".expense_bg").toggle();
		$(this).toggleClass("active");
		$(".expense_bg").find(".home_icon1").toggleClass("active");
		$(".expense_bg").find(".home_icon2").toggleClass("active");
	})
	$(".home_icon1").on("click",function(){
		window.location.href="./record.html";
	})
	$(".home_icon2").on("click",function(){
		window.location.href="./userInfo.html";
	})
})
var showMaskComTimer = null;
function showMaskEditCom(b) { var a = { width: "auto", classNames: "popup-maskEdit", text: "请输入弹框内容", whiteSpace: "nowrap", duration: 1000 }; for(var d in b) { a[d] = b[d] } var c = "<div class='" + a.classNames + "'>" + a.text + "</div>"; if($("." + a.classNames).length < 1) { $("body").append(c) } else { $("." + a.classNames).html(a.text) } var e = $("." + a.classNames);
	e.css({ "z-index": 999999999 }); if(a.width) { e.css("width", a.width) } if(a.whiteSpace) { e.css("white-space", a.whiteSpace) } clearInterval(showMaskComTimer);
	showMaskComTimer = null; if(window.Zepto && window.Zepto === $) { e.animate({ display: "block" }, "fast");
		showMaskComTimer = setTimeout(function() { e.animate({ display: "none" }, "fast"); if(typeof a.callback == "function") { a.callback() } }, a.duration) } else { if(window.jQuery && window.jQuery === $) { e.show("fast", function() { showMaskComTimer = setTimeout(function() { e.fadeOut(); if(typeof a.callback == "function") { a.callback() } }, a.duration) }) } } }
var scrollMoveCom = function(a) { a.preventDefault && a.preventDefault();
	a.returnValue = false;
	a.stopPropagation && a.stopPropagation(); return false };